package net.dgg.zz.credential.talent.dao;

import net.dgg.zz.credential.talent.entity.TalentRecord;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface TalentRecordDao {
    /**
     * 插入
     * @param talentRecord
     * @return
     */
    int insert(TalentRecord talentRecord);

    /**
     *分页查询记录信息
     * @param params
     * @return
     */
    List<TalentRecord> selectWithPage(Map params);

    Integer count(Map parmas);
}
